davinci: cleanup davinci_sync_env_enetaddr() fucntion
authorHadli, Manjunath <[email protected]>
Thu, 9 Feb 2012 19:52:38 +0000 (19:52 +0000)
committerAlbert ARIBAUD <[email protected]>
Mon, 27 Feb 2012 20:19:24 +0000 (21:19 +0100)
commit826e99136e2bce61f3f6572e32d7aa724c116e6d
treec7d71391330d4dc8885085a59909e1c3800e9d27
parentfa34f6b25b3c92f27b245c52378a0d2af24aaa19
davinci: cleanup davinci_sync_env_enetaddr() fucntion

check for the return status for eth_getenv_enetaddr_by_index()
and eth_setenv_enetaddr() functions and print appropriate message
on failure.

Signed-off-by: Manjunath Hadli <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Mike Frysinger <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
arch/arm/cpu/arm926ejs/davinci/misc.c